home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-08-21 | 683 b | 42 lines | [TEXT/MWII] |
- (GetFile.PROC)
- (Call up the Pathname Dialog box: Don't confuse A$ with A%)
- GETFILE A$
- (See if the CANCEL button was clicked)
- IF NO END
-
- (Find out what duplex is set)
- GETGLOBAL A%,3
-
- (Now set duplex to null to avoid sending the Pathname out the modem)
- COMM -NULL
-
- (Place a carriage return at the end of the pathname)
- CONCAT A$,^M
-
- (Print the Pathname)
- TYPE A$
-
- (Now we have to restore the original duplex setting)
- (If A% was 0:FULL or 1:HALF or 2:ECHO or 3:NULL)
- TEST A% = 0
- IF NO JUMPTO HALF
- COMM -FULL
- END
-
- :HALF
- TEST A% = 1
- IF NO JUMPTO ECHO
- COMM -HALF
- END
-
- :ECHO
- TEST A% = 2
- IF NO JUMPTO NULL
- COMM -ECHO
- END
-
- :NULL
- (No TEST or JUMPTO since this is the last choice)
- COMM -NULL
- END
-